#include <iostream>
#include <cmath>

using namespace std;

int main()
{

double x[1+1], v[1+1], a[1+1];
double R;			// Distance between x and y

double dt = 0.01;				// Timesteps of 0.01 second

x[0] = 1;			// Initial position
x[1] = 0;
v[0] = 1;			// Initial velocity
v[0] = 0;

for (i=0; i=1000; i++){
	R= x[0]*x[0] + x[1]*x[1];
	for (j=0; j=1; j++){
		a[j] = - 1/(R*R);
		v[k] = (a[k]*dt) + v[k];
		x[k] = (v[k]*dt) + x[k];
	}
	dt=dt+0.01;
}

return 0;

}

